Bug 577224 – crash when setting new icon after setting icon in
authorChristian Persch <chpe@gnome.org>
Sun, 29 Mar 2009 21:25:13 +0000 (21:25 +0000)
committerChristian Persch <chpe@src.gnome.org>
Sun, 29 Mar 2009 21:25:13 +0000 (21:25 +0000)
commit3b437b016cb9dd8a3c798d210967b1fd0a5a2db8
tree9d94c7ad5c9fd09433db987cfc22f39b1d8efe9e
parent94129a4e2b82f8dfe93ae38cd217a017a6a4beb4
Bug 577224 – crash when setting new icon after setting icon in

2009-03-29  Christian Persch  <chpe@gnome.org>

Bug 577224 – crash when setting new icon after setting icon in
gtkstatusicon

* gtk/gtkstatusicon.c: (gtk_status_icon_reset_image_data),
(gtk_status_icon_set_from_gicon): Retain a reference when setting
from a GIcon, and use g_object_unref on GIcon, not g_free.

svn path=/trunk/; revision=22594
ChangeLog
gtk/gtkstatusicon.c